package com.itheima.service.system;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.system.Dept;

import java.util.List;

public interface DeptService {
    List<Dept> findAll()throws Exception;
    PageInfo<Dept> pageQuery(Integer pageNum, Integer pageSize)throws Exception;
    Dept findById(String id)throws Exception;
    void save(Dept dept)throws Exception;
    void update(Dept dept)throws Exception;
    void delete(String... ids)throws Exception;

}
